<template>
  <div class="no-permission">
    <div class="container">
      <div class="neon">403</div>
      <div class="door-frame">
        <div class="door">
          <div class="rectangle"></div>
          <div class="handle"></div>
          <div class="window">
            <div class="eye"></div>
            <div class="eye eye2"></div>
            <div class="leaf"></div>
          </div>
        </div>
      </div>
      <div class="message">无权访问该页面</div>
    </div>
  </div>
</template>

<script setup>
</script>

<style scoped>
.no-permission {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2c3e50;
}

.container {
  text-align: center;
  color: #fff;
}

.neon {
  font-family: 'Varela Round', sans-serif;
  font-size: 90px;
  color: #fff;
  letter-spacing: 5px;
  text-shadow: 4px 4px 10px #9ae7ff,
    0 0 20px rgba(154, 231, 255, 0.5),
    0 0 30px rgba(154, 231, 255, 0.4),
    0 0 40px rgba(154, 231, 255, 0.3);
  padding: 30px;
}

.door-frame {
  height: 220px;
  width: 180px;
  border-radius: 90px 90px 0 0;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.door {
  height: 170px;
  width: 140px;
  border-radius: 70px 70px 0 0;
  background-color: #282C34;
}

.rectangle {
  height: 70px;
  width: 25px;
  background-color: #1C2127;
  position: relative;
  left: 55px;
}

.handle {
  height: 8px;
  width: 15px;
  border-radius: 4px;
  background-color: #9ae7ff;
  position: relative;
  left: 120px;
  top: -20px;
}

.window {
  height: 40px;
  width: 40px;
  background-color: #1C2127;
  border-radius: 50%;
  margin: 0 auto;
  margin-top: -50px;
  position: relative;
}

.eye {
  height: 5px;
  width: 5px;
  background-color: #9ae7ff;
  border-radius: 50%;
  position: absolute;
  top: 15px;
  left: 12px;
  animation: eye 3s infinite linear;
}

.eye2 {
  left: 23px;
}

.leaf {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  animation: leaf 3s infinite linear;
  transform-origin: bottom;
}

.message {
  padding: 30px;
  font-family: 'Varela Round', sans-serif;
  font-size: 24px;
  color: #9ae7ff;
  text-shadow: 0 0 10px rgba(154, 231, 255, 0.5);
  font-weight: 500;
}

@keyframes leaf {
  0% {
    transform: rotateZ(0deg);
  }
  50% {
    transform: rotateZ(180deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

@keyframes eye {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  5% {
    opacity: 0;
  }
  15% {
    opacity: 1;
    transform: translateX(0);
  }
  20% {
    transform: translateX(15px);
  }
  35% {
    transform: translateX(15px);
  }
  40% {
    transform: translateX(-15px);
  }
  60% {
    transform: translateX(-15px);
  }
  65% {
    transform: translateX(0);
  }
}
</style> 